Harnessing a Refinement Theory to Compute Loop Functions
نویسندگان
چکیده
We consider a while loop on some space S and we are interested in deriving the function that this loop defines between its initial states and its final states (when it terminates). Such a capability is useful in a wide range of applications, including reverse engineering, software maintenance, program comprehension, and program verification. In the absence of a general theoretical solution to the problem of deriving the function of a loop, we explore engineering solutions. In this paper we use a relational refinement calculus to approach this complex problem in a systematic manner. Our approach has many drawbacks, some surmountable and some not (being inherent to the approach); nevertheless, it offers a way to automatically derive the function of loops or an approximation thereof, under some conditions.
منابع مشابه
Usage of Assembled Functions Theory for Compute Dynamic Response of a Tunnel
در این پژوهش یک پاسخ تحلیلی برای ارزیابی پاسخ دینامیکی تونل در محیط های متخلخل ایزوتروپ با استفاده از تئوری تجمع توابع ارائه شده است. برای حل معادلات، دو گروه از توابع پیچیده برای ساختمان جامد و مایع نفوذی در یک سیستم پیچیده دو بعدی معرفی شده اند. تنش، جابجایی و فشارهای منفی ناشی از حوادث حاد در محیط و به ویژه در مجاورت حفره در این طرح پیچیده ارزیابی می شود. اعتبار راه حل پیشنهادی با نمونه های ...
متن کاملStability analysis of concrete gravity basestructures in rocking motion under wave effect
Given the worldwide industry progress in the construction of massive concrete structures, it would be a good idea to use concrete gravity base structures (GBS).In this regard, better understanding of thesestructuresregardingtheiradvantages and disadvantages in offshore areas seems necessary.The present study employed MacCammy-Fuchs method, which is based on the size of the structure to the wave...
متن کاملOn the computational complexity of imperative programming languages
Two restricted imperative programming languages are considered: One is a slight modification of a loop language studied intensively in the literature, the other is a stack programming language over an arbitrary but fixed alphabet, supporting a suitable loop concept over stacks. The paper presents a purely syntactical method for analysing the impact of nesting loops on the running time. This giv...
متن کاملDevelopment of closed-loop supply chain mathematical model (cost-benefit-environmental effects) under uncertainty conditions by approach of genetic algorithm
In the current world, the debate on the reinstatement and reuse of consumer prod-ucts has become particularly important. Since the supply chain of the closed loop is not only a forward flow but also a reverse one; therefore, companies creating integ-rity between direct and reverse supply chain are successful. The purpose of this study is to develop a new mathematical model for closed loop suppl...
متن کاملFree vibration behavior of bi-directional functionally graded plates with porosities using a refined first order shear deformation theory
This paper proposes the refined first order shear deformation theory to investigate the free vibration behavior of bidirectional functionally graded porous plates. This theory satisfies the transverse shear stress free conditions at the top and bottom of the plate, thus avoids the need of a shear correction factor. The rule of mixtures is employed to compute the effective material properties an...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Electr. Notes Theor. Comput. Sci.
دوره 243 شماره
صفحات -
تاریخ انتشار 2009